package com.gientech.sys.eventPara;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;


/**
 * 时间参数实体类，和数据库完全对应【此类不可修改】
 */
@Data
@TableName(value = "T_PMM_REMIND_TEMP")
public class SysEventPara implements Serializable {
    @TableId(value = "REMIND_TEMP_ID", type = IdType.ASSIGN_ID)
    private String remindTempId;

    @TableField(value = "EVENT_TYPE")
    private String eventType;

    @TableField(value = "EVENT_SMALL_TYPE")
    private String eventSmallType;

    @TableField(value = "THRESHOLD_MON")
    private BigDecimal thresholdMon;

    @TableField(value = "DAY_NUM")
    private BigDecimal dayNum;

    @TableField(value = "REMIND_ROLE_ID")
    private String remindRoleId;

    @TableField(value = "IS_OK")
    private String isOk;

    @TableField(value = "VALID_DAY")
    private BigDecimal validDay;

    @TableField(value = "MODIFY_USER_ID")
    private String modifyUserId;

    @TableField(value = "MODIFY_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;

    @TableField(value = "MODIFY_ORG_ID")
    private String modifyOrgId;
}
